fix(web): restore pointer cursors for sidebar actions#894
fix(web): restore pointer cursors for sidebar actions#894binbandit wants to merge 2 commits intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can use oxc to improve the quality of JavaScript and TypeScript code reviews.Add a configuration file to your project to customize how CodeRabbit runs oxc. |
|
@binbandit could you rebase / fix conflicts? |
Summary
Why
Thread rows and project actions such as
Show morewere clickable but did not consistently present a pointer cursor on hover. The current code onmainstill had acursor-defaultoverride on thread rows and no shared pointer cursor in the sidebar interactive primitives.Validation
bun fmtbun lintbun typecheckbun run test src/components/ui/sidebar.test.tsxNote
Restore pointer cursors for sidebar menu buttons and thread rows
Adds
cursor-pointertosidebarMenuButtonVariants,SidebarMenuAction, andSidebarMenuSubButtonin sidebar.tsx, and fixesresolveThreadRowClassNamein Sidebar.logic.ts to usecursor-pointerinstead ofcursor-default. New tests in sidebar.test.tsx verify the default cursor and that it can be overridden with a custom class.Macroscope summarized a8140f5.